﻿<%@ Page MasterPageFile="~/Site.Master" Language="C#" AutoEventWireup="true" CodeBehind="CoachDataWebForm.aspx.cs" Inherits="DigDes.DSchool.SUPS.Web.UI.CoachDataWebForm" %>

<asp:Content runat="server" ContentPlaceHolderID="MainContent">

    <html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    <div>
        <h2><asp:Label Text="Информация по вагонам" runat="server" /></h2>
        <asp:GridView ID="CoachGridView" runat="server" AutoGenerateColumns="False" DataSourceID="GetCoachInformationODS" CssClass="grid-view" >
            <Columns>
                <asp:BoundField DataField="Inventory_Number" HeaderText="Инвентарный номер" SortExpression="Inventory_Number" />
                <asp:BoundField DataField="Cargo_Weight" HeaderText="Вес груза в тоннах" SortExpression="Cargo_Weight" />
                <asp:BoundField DataField="Destination_Name" HeaderText="Станция назначения" SortExpression="Destination_Name" />
                <asp:BoundField DataField="Cargo_Name" HeaderText="Наименование груза" SortExpression="Cargo_Name" />
                <asp:BoundField DataField="Receiver_Code" HeaderText="Грузополучатель" SortExpression="Receiver_Code" />
                <asp:BoundField DataField="Park_Type" HeaderText="Тип парка вагона" SortExpression="Park_Type" />
                <asp:BoundField DataField="Start_Station_Name" HeaderText="Станция начала рейса" SortExpression="Start_Station_Name" />
                <asp:BoundField DataField="Operation_Code" HeaderText="Операция" SortExpression="Operation_Code" />
                <asp:BoundField DataField="Operation_Data" HeaderText="Дата  операции" SortExpression="Operation_Data" />
                <asp:BoundField DataField="Operation_Year" HeaderText="Год операции" SortExpression="Operation_Year" />
                <asp:BoundField DataField="Operation_Time" HeaderText="Время операции" SortExpression="Operation_Time" />
                <asp:BoundField DataField="Station_Of_Operation_Name" HeaderText="Станция свершившейся операции" SortExpression="Station_Of_Operation_Name" />
                <asp:BoundField DataField="Delivery_Road_Name" HeaderText="Дорога сдачи" SortExpression="Delivery_Road_Name" />
                <asp:BoundField DataField="Reception_Road_Name" HeaderText="Дорога приема" SortExpression="Reception_Road_Name" />
                <asp:BoundField DataField="Coach_Index" HeaderText="Индекс поезда" SortExpression="Coach_Index" />
                <asp:BoundField DataField="Coach_Number" HeaderText="Номер поезда" SortExpression="Coach_Number" />
            </Columns>
        </asp:GridView>
        <asp:ObjectDataSource ID="GetCoachInformationODS" runat="server" SelectMethod="GetCoachInformation" TypeName="DigDes.DSchool.SUPS.DataAccess.Database.CoachDAC"></asp:ObjectDataSource>  
    </div>
</body>
</html>
     </asp:Content>